package com.eimf.saf.security.entity;

import java.io.Serializable;

import com.eimf.saf.common.commons.annotation.I18nAnnotation;
import com.eimf.saf.common.commons.i18n.Ii18n;

/**
 * @author eden
 * @date 2013-12-27 上午11:38:21
 * @Description: 资源实体
 */
public class Resources extends Ii18n implements Serializable
{
    private static final long serialVersionUID = 1L;

    private Long resourceId;

    private String resourceKey;

    @I18nAnnotation
    private String resourceName;

    private String resourceDesc;

    private Long menuId;

    private int resourceType; // 资源类型（0：menu，左边菜单/常用链接/角色管理；1：link，常用链接/角色管理；2：hidden，主要用于跨资源的共享页面及请求）

    private Long defaultPageId;

    private int orderKey;

    private String subSystemId;

    private int status;

    /**
     * resourceId
     * 
     * @return the resourceId
     * @since 1.0.0
     */

    public Long getResourceId()
    {
        return resourceId;
    }

    /**
     * @param resourceId the resourceId to set
     */
    public void setResourceId(final Long resourceId)
    {
        this.resourceId = resourceId;
    }

    /**
     * resourceKey
     * 
     * @return the resourceKey
     * @since 1.0.0
     */

    public String getResourceKey()
    {
        return resourceKey;
    }

    /**
     * @param resourceKey the resourceKey to set
     */
    public void setResourceKey(final String resourceKey)
    {
        this.resourceKey = resourceKey;
    }

    /**
     * resourceName
     * 
     * @return the resourceName
     * @since 1.0.0
     */

    public String getResourceName()
    {
        return resourceName;
    }

    /**
     * @param resourceName the resourceName to set
     */
    public void setResourceName(final String resourceName)
    {
        this.resourceName = resourceName;
    }

    /**
     * resourceDesc
     * 
     * @return the resourceDesc
     * @since 1.0.0
     */

    public String getResourceDesc()
    {
        return resourceDesc;
    }

    /**
     * @param resourceDesc the resourceDesc to set
     */
    public void setResourceDesc(final String resourceDesc)
    {
        this.resourceDesc = resourceDesc;
    }

    /**
     * menuId
     * 
     * @return the menuId
     * @since 1.0.0
     */

    public Long getMenuId()
    {
        return menuId;
    }

    /**
     * @param menuId the menuId to set
     */
    public void setMenuId(final Long menuId)
    {
        this.menuId = menuId;
    }

    /**
     * resourceType
     * 
     * @return the resourceType
     * @since 1.0.0
     */

    public int getResourceType()
    {
        return resourceType;
    }

    /**
     * @param resourceType the resourceType to set
     */
    public void setResourceType(final int resourceType)
    {
        this.resourceType = resourceType;
    }

    /**
     * defaultPageId
     * 
     * @return the defaultPageId
     * @since 1.0.0
     */

    public Long getDefaultPageId()
    {
        return defaultPageId;
    }

    /**
     * @param defaultPageId the defaultPageId to set
     */
    public void setDefaultPageId(final Long defaultPageId)
    {
        this.defaultPageId = defaultPageId;
    }

    /**
     * orderKey
     * 
     * @return the orderKey
     * @since 1.0.0
     */

    public int getOrderKey()
    {
        return orderKey;
    }

    /**
     * @param orderKey the orderKey to set
     */
    public void setOrderKey(final int orderKey)
    {
        this.orderKey = orderKey;
    }

    /**
     * subSystemId
     * 
     * @return the subSystemId
     * @since 1.0.0
     */

    public String getSubSystemId()
    {
        return subSystemId;
    }

    /**
     * @param subSystemId the subSystemId to set
     */
    public void setSubSystemId(final String subSystemId)
    {
        this.subSystemId = subSystemId;
    }

    /**
     * status
     * 
     * @return the status
     * @since 1.0.0
     */

    public int getStatus()
    {
        return status;
    }

    /**
     * @param status the status to set
     */
    public void setStatus(final int status)
    {
        this.status = status;
    }

}
